<?php /* Smarty version Smarty-3.1.13, created on 2014-04-07 22:08:10
         compiled from "E:/phpweb/YiVa/templates/layouts/hottag.tpl" */ ?>
<?php /*%%SmartyHeaderCode:176805342b14a1718b6-60897298%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b03780b1d324c2e12477bb2d15b37d2e2022ee81' => 
    array (
      0 => 'E:/phpweb/YiVa/templates/layouts/hottag.tpl',
      1 => 1387459758,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '176805342b14a1718b6-60897298',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'tags' => 0,
    'tag' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5342b14a182d76_01245632',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5342b14a182d76_01245632')) {function content_5342b14a182d76_01245632($_smarty_tpl) {?><div class="title titlet-h mt15">热门标签</div>
<div class="toptag mt10">
    <?php  $_smarty_tpl->tpl_vars['tag'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tag']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['tags']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tag']->key => $_smarty_tpl->tpl_vars['tag']->value){
$_smarty_tpl->tpl_vars['tag']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['tag']->key;
?>
        <a href="<?php echo @constant('WEBSITE_URL');?>
tag/showtag/<?php echo $_smarty_tpl->tpl_vars['tag']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['tag']->value->name;?>
</a>
    <?php } ?>
</div><?php }} ?>